<?php

/*
 * This file is the jQuery for document on ready jQuery for hiding scroll bars of track document if necessary.
 * 
 * Created by: Peter Agno Jr.
 * Date created: November 5, 2011
 */
?>

// Start - jQuery for removing the scrolls of track document if beyond the max circles
            jQuery("input[name^=divInptScroll]").each(function() {
                // Get document id
                inputBoxId = this.id;
                tempSubstr = inputBoxId.split('__');
                
                // If lower than maximum number of circles allowed to show then hide the scroll bar
                // if ( jQuery(this).val() <= 7)
                    jQuery(".divTrckScroll__"+tempSubstr[1]).css("overflow-x","hidden");
            });
            // End - jQuery for removing the scrolls of track document if beyond the max circles
